//
//  MFAPMRequestManager.h
//  MFAPMManager
//
//  Created by zhang liyu on 2019/6/13.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

//请求环境开关 0 : 测试环境 1 :正式环境
#define MFAPM_PROJECT_ENVIRONMENT_SWITCH_RELEASE 0

@interface MFAPMRequestManager : NSObject

#pragma mark - Request Actions

/**
 GET 请求
 临时方法，待接入上传SDK后进行对应替换
 */
+ (void)GET:(NSString *)urlStr parametersDict:(NSDictionary *)parametersDict success:(void (^)(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject))success failure:(void (^)(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error))failure;

/**
 POST 请求
 临时方法，待接入上传SDK后进行对应替换
 */
+ (void)POST:(NSString *)urlStr parametersDict:(NSDictionary *)parametersDict success:(void (^)(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject))success failure:(void (^)(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error))failure;

@end

NS_ASSUME_NONNULL_END
